<?PHP

// flickr group title from where pages will be imported in slider
// direct image url for <og:image>
// facebook page template
// colour for showing date on homepage


function execute_ZXKCSEIRLSDKMSEKFL($parentPage)
{
if( count($_POST) ){
	foreach( $_POST as $key=>$val)
	{
		customizedUpdateOption($key, $val);
	}
}
/*
$all_options = wp_load_alloptions();
ksort($all_options);
echo '<pre>';
print_r($all_options);
echo '</pre>';
die;
//*/
?>
<br/>
<div class="wrap">
<div class="icon32" id="icon-options-general"><br></div><h2>GLOBAL SETTINGS</h2>

<form action="<?PHP echo get_bloginfo('wpurl'). "/wp-admin/admin.php?page=$parentPage";?>" method="post">

<table class="form-table">

<tbody>
<tr valign="top">
	<th scope="row"><label for="posts_per_page">Slider image group's RSS url</label></th>
	<td>
		<?PHP 
		for( $i=1;$i<=1; ++$i)
		{
			$valueFromWP = themeGetOption("homepage_slider_".$i);
			echo "<input type='text' class='big-text' onclick='select()' value='{$valueFromWP}' size=50 id='homepage_slider_$i' name='homepage_slider_$i'> Source-slider-$i <br/>";
		}
		?>
	</td>
</tr>
<tr valign="top">
	<th scope="row"><label for="posts_per_page">Open graph image</label></th>
	<td>
		<?PHP
			$valueFromWP = themeGetOption("ogimage_url");
			echo "<input type='text' class='big-text' onclick='select()' value='{$valueFromWP}' size=50 id='ogimage_url' name='ogimage_url'>";
			echo "<br/><p><img style='width:150px;height:150px;' src='$valueFromWP' /><br/> <strong>Facebook</strong> needs the resolution of this image as minimum as 1500x1500px</p>";
		?>
	</td>
</tr>

<tr valign="top">
	<th scope="row"><label for="posts_per_page">Facebook page like template</label></th>
	<td>
		<?PHP
			$valueFromWP = themeGetOption("facebook_like_template_box");
			echo "<textarea rows=4 cols=50 onclick='select()' value='{$valueFromWP}' id='facebook_like_template_box' name='facebook_like_template_box'>";
			echo "$valueFromWP</textarea>";
		?>
	</td>
</tr>


<tr valign="top">
	<th scope="row"><label for="posts_per_page">Flickr group id</label></th>
	<td>
		<?PHP
			$valueFromWP = themeGetOption("flickr_group_id");
			echo "<textarea rows=4 cols=50 onclick='select()' value='{$valueFromWP}' id='flickr_group_id' name='flickr_group_id'>";
			echo "$valueFromWP</textarea>";
			echo "<br/><strong>Format:</strong> http://api.flickr.com/services/feeds/groups_pool.gne?id=NNNNNN";
		?>
	</td>
</tr>


<tr valign="top">
	<th scope="row"><label for="posts_per_page">BUET time div colour in header</label></th>
	<td>
		<?PHP
			$valueFromWP = themeGetOption("buet_time_div_color");
			echo "<input noBanglaText='noBanglaText' rows=4 cols=50 onclick='select()' value='{$valueFromWP}' id='buet_time_div_color' name='buet_time_div_color' />";
			echo "<br/><strong>Format:</strong> #AB09EF";
		?>
	</td>
</tr>
<!--
<tr valign="top">
<th scope="row"><label for="posts_per_rss">Syndication feeds show the most recent</label></th>
<td><input type="number" class="small-text" value="10" id="posts_per_rss" min="1" step="1" name="posts_per_rss"> items</td>
</tr>
<tr valign="top">
<th scope="row">For each article in a feed, show </th>
<td><fieldset><legend class="screen-reader-text"><span>For each article in a feed, show </span></legend>
<p><label><input type="radio" checked="checked" value="0" name="rss_use_excerpt"> Full text</label><br>
<label><input type="radio" value="1" name="rss_use_excerpt"> Summary</label></p>
</fieldset></td>
</tr>

<tr valign="top" class="option-site-visibility">
<th scope="row">Search Engine Visibility </th>
<td><fieldset><legend class="screen-reader-text"><span>Search Engine Visibility </span></legend>
	<label for="blog_public"><input type="checkbox" value="0" id="blog_public" name="blog_public">
	Discourage search engines from indexing this site</label>
	<p class="description">It is up to search engines to honor this request.</p>
</fieldset></td>
</tr>
-->
</tbody></table>


<p class="submit"><input type="submit" value="Save Changes" class="button button-primary" id="submit" name="submit"></p></form>
</div>

<?PHP
}
?>